package com.tpshion.deploy.handler.msg;

import com.tpshion.deploy.common.constant.MsgType;
import com.tpshion.deploy.common.support.MsgContext;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class TextMsgHandler extends AbstartMsgHandler{

    @Override
    public MsgType getMsgType() {
        return MsgType.TEXT;
    }

    @Override
    public void receiveMessage(MsgContext msgContext) {
        log.info("receiveMessage msgContext:{}", msgContext);
    }
}
